package com.im.service.conversation.model;

import com.im.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(description = "删除会话请求参数")
public class DeleteConversationReq extends RequestBase {

    @ApiModelProperty(value = "会话id", required = true)
    @NotBlank(message = "会话id不能为空")
    private String conversationId;

    @ApiModelProperty(value = "发送方id", required = true)
    @NotBlank(message = "fromId不能为空")
    private String fromId;

}

